<%-- 
    Document   : header
    Created on : Aug 28, 2011, 7:32:17 PM
    Author     : HIEP
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<div id="header">
    <div class="main">
        <div class="clear">
            <div id="logo"> <html:link action="/TourAction.do?method=listclient"> <img alt="" src="images/logo.png" /> </html:link> </div>
            <div class="float-right">
                <div class="cart">
                    <div class="modultable">
                        <c:if test="${user == null}">
                            <h3><a href="home.jsp?option=login">LOGIN |</a> <a href="home.jsp?option=register">REGISTER</a></h3>
                        </c:if>
                        <c:if test="${user != null}">
                            <h3> <html:link action="/UserAction.do?method=editProfile&email=${user.email}"> ${user.fullname}</html:link>, <br/>
                                <html:link action="/CartAction.do?method=myCart">MY CART</html:link> |
                                <html:link action="/LoginAction.do?method=logout">Logout</html:link></h3>
                        </c:if>
                    </div>
                </div>
            </div>
        </div>
        <div class="header-box">
            <div class="float-left">
                <div id="topmenu">
                    <ul class="menu-nav">
                        <li class="item53"> <html:link action="/HomeAction.do?method=list">Home</html:link> </li>
                        <li class="item53"> <html:link action="/TourAction.do?method=listclient">Package Tour</html:link> </li>
                        <li class="item53"> <html:link action="/CarAction.do?method=listclient">Car Rental</html:link> </li>
                        <li class="item53"> <html:link href="home.jsp?option=infoDesk">Information Desk</html:link> </li>
                        <li class="item53"> <html:link action="/HotelAction.do?method=listclient">Hotel</html:link> </li>
                        <li class="item53"> <html:link action="/FlightAction.do?method=listclient">Flight</html:link> </li>
                        <li class="item53"> <html:link href="home.jsp?option=aboutUs">About Us</html:link> </li>
                    </ul>
                </div>
            </div>
            <div id="loopedSlider2">
                <div id="slider-wrapper">
                    <div id="slider" class="nivoSlider"> <img src="images/slide-1.png" alt="Anh 1" title=""/> <a href="#"><img src="images/slide-2.png" alt="Anh 2" title="" /></a> <img src="images/slide-3.png" alt="Anh 3" title="" /> <img src="images/slide-4.png" alt="anh thu 4" title="" /> </div>
                    <div id="htmlcaption" class="nivo-html-caption">
                        <p>New Tours<a href="#">Click</a> 
                    </div>
                    </p>
                </div>
                <div class="jcarousel-skin-tango"></div>
            </div>
        </div>
    </div>
</div>
